package com.my.webhr.pro.service.Impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.my.webhr.pro.mapper.AdminMapper;
import com.my.webhr.pro.pojo.Admin;
import com.my.webhr.pro.service.AdminService;
@Service
public class AdminServiceImpl implements AdminService {
	@Autowired
	private AdminMapper adminMapper;
	@Override
	public Admin login(Admin admin) {
		Admin admin2 = adminMapper.selectOne(admin);
		return admin2;
	}
}
